﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain
{
    /// <summary>
    /// 资源分配行
    /// </summary>
    public class Allocation : BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int AId { get; set; }
        /// <summary>
        /// 资源编码
        /// </summary>
        [StringLength(50)]
        public string ResNode { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        [StringLength(50)]
        public string Summary { get; set; }
    }
}
